package com.iplant.mes.serviceImpl.dao.ncr;

import com.iplant.base.utils.annotation.dao.DBBaseDAO;
import com.iplant.basic.serviceImpl.dao.TaskBaseDao;
import com.iplant.mes.service.po.ncr.NCRTask;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@DBBaseDAO(NCRTask.class)
public class NCRTaskDAO extends TaskBaseDao<NCRTask> {

    private static NCRTaskDAO Instance = null;

    public static NCRTaskDAO getInstance() {
        if (Instance == null) {
            Instance = new NCRTaskDAO();
        }
        return Instance;
    }

    public NCRTaskDAO() {
        super(NCRTask.class);
        this.Init();
    }

    @Override
    protected void Initialize() {
        super.SetInstance(this);
    }

}
